package br.com.exatta.dados;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;

@Entity
public class Terminal extends EntidadeImpl {

	private static final long serialVersionUID = 7620244782742651517L;

	private Integer codigo;

	private String descricao;

	public Terminal() {
		super();
	}

	@Override
	@Id
	@SequenceGenerator(name = "SEQ_TERMINAL", sequenceName = "SEQ_TERMINAL", allocationSize = 1)
	@GeneratedValue(generator = "SEQ_TERMINAL", strategy = GenerationType.SEQUENCE)
	public Long getId() {
		return id;
	}

	@Basic
	public Integer getCodigo() {
		return codigo;
	}

	public void setCodigo(Integer codigo) {
		this.codigo = codigo;
	}

	@Basic
	public String getDescricao() {
		return descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}

	
	
}
